package linwen.wang.tdddemo.repository;

import linwen.wang.tdddemo.entity.ProductEntity;
import linwen.wang.tdddemo.entity.ProductTypeEntity;
import linwen.wang.tdddemo.mapper.ProductMapper;
import linwen.wang.tdddemo.mapper.ProductTypeMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.Collections;
import java.util.List;

@Component
public class ProductRepository {
    @Autowired
    private ProductMapper productMapper;

    @Autowired
    private ProductTypeMapper productTypeMapper;

    public List<ProductEntity> getProductsByIds(List<Long> ids) {
        return Collections.emptyList();
    }

    public List<ProductTypeEntity> getProductTypes(List<Long> typeIds) {
        return Collections.emptyList();
    }
}
